
import { ApiProperty } from '@midwayjs/swagger';

export class GetProductsDto {
    @ApiProperty({
      example: '1',
      description: '页码',
    })
    page_index: number;
  
    @ApiProperty({
      example: '1',
      description: '页码长度',
    })
    page_size: number;
  
    @ApiProperty({
      description: '算法关键词',
    })
    keyword: string;
  
    @ApiProperty({
      description: '算法类型',
      example: 3,
    })
    type?: string;
  
  }